<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestValidation.aspx.cs" Inherits="admin_TestValidation" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript" src="../admin/resources/js/custom/ntthao.js"></script>
    <script type="text/javascript" src="../admin/resources/js/custom/validator.js"></script>
</head>
<body>
    
    <form id="form1" runat="server" onsubmit="return NTTHAO.formValidator.onFormSubmit();">
    <div>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
            ErrorMessage="RequiredFieldValidator" SetFocusOnError="True" onblur="return NTTHAO.validator.validateMe()"></asp:RequiredFieldValidator>
        <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="NTTHAO.validator.isInteger"
            ControlToValidate="TextBox1" ErrorMessage="NTTHAO.validator.isInteger" ValidateEmptyText="True"></asp:CustomValidator><br />
        <asp:Button ID="Button1" runat="server" Text="Button" /></div>
    </form>
</body>
</html>
